package com.xiaoxi.feign.checkpasswordserver;

import com.xiaoxi.common.response.ApiResponse;
import com.xiaoxi.domain.password.VerifyPassword;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @Author xiaoxi
 * @ProjectName springcloudbms
 * @PackageName com.xiaoxi.feign.checkpasswordserver
 * @ClassName s
 * @Description TODO
 * @Date 2023/2/8 19:18
 * @Version 1.0
 */
@FeignClient("check-password-server")
public interface CheckPasswordServer {

    @PostMapping("/password/api/v1/verify")
    ApiResponse verifyPassword(@RequestBody VerifyPassword verifyPassword);

}
